package com.wangyk.thymeleafproject.controller;

import com.wangyk.rabbitmqcommon.VO.ResultVO;
import com.wangyk.rabbitmqcommon.resp.CommonResp;
import com.wangyk.rabbitmqcommon.utils.ResultVOUtils;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;

/**
 * @Description:
 *   测试类
 * @Author: wangyk
 * @CreateDate: 2019/1/11$ 9:20$
 * @UpdateUser: wangyk
 * @UpdateDate: 2019/1/11$ 9:20$
 * @UpdateRemark:
 * @Version: 1.0
 */
@Controller
@RequestMapping("/test")
public class TestController
{
    @RequestMapping("/test.do")
    @ResponseBody
    public ResultVO testMethod(HttpServletRequest request)
    {
        System.out.println("测试类12");
        return ResultVOUtils.success();
    }
}
